home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / graphics / tms_rom2.zip / TEXT4POV.POV < prev    next >
Text File  |  1994-03-28  |  4KB  |  161 lines

  1. #include "colors.inc"
  2. #include "shapes.inc"
  3. #include "textures.inc"
  4.  
  5. #declare Plastic = texture {
  6.     pigment {
  7.         colour red 1.0 green 0.0 blue 1.0
  8.     }
  9.     finish {
  10.         ambient 0.3
  11.         diffuse 0.3
  12.         phong 0.6
  13.         phong_size 45.0
  14.         //reflection 0.25
  15.     }
  16. }
  17.  
  18. /* Camera*/
  19. camera {
  20.    location <0.0, 0.0, 0.0>
  21.    translate <0.20000, -4.000000, 0.3>
  22.    direction <0, 1.8, 0>
  23.    up <0, 0, 1>
  24.    sky  <0, 0, 1>
  25.    right <1.33, 0, 0>
  26.    look_at <0.2, 0, 0.5>
  27. }
  28.  
  29. /* Light1 */
  30. light_source {
  31.     <-4.000, -8.0000, 0.3000> color red 1.00 green 1.00 blue 1.00
  32. }
  33.  
  34. /* Light 2*/
  35. light_source {
  36.     <2, -4.0000, 2.0000> color red 1.00 green 1.00 blue 1.00
  37. }
  38.  
  39. /* Light 3*/
  40. /*light_source {
  41.     <3, 24.0000, 10.0000> color red 1.00 green 1.00 blue 1.00
  42. }
  43. */
  44. /*
  45. object {
  46.     plane { <0, 0, -1> 0 translate <0, 0, 0>}
  47.     texture {
  48.         pigment { colour red 0.8 green 0.8 blue 0.8 }
  49.         finish  { Shiny reflection 0.3 }
  50.     }
  51. }
  52. */
  53.  
  54. #declare TEXT = texture {
  55.     pigment { White_Marble }
  56.     finish {
  57.         ambient 0.3
  58.         diffuse 0.3
  59.         phong 0.6
  60.         phong_size 45.0
  61. //        reflection 0.25
  62.     }
  63.     scale <0.3, 0.3, 0.3>
  64. }
  65. #declare FOUR = texture {
  66.     pigment { White_Wood }
  67.     finish {
  68.         ambient 0.3
  69.         diffuse 0.3
  70.         phong 0.6
  71.         phong_size 45.0
  72. //        reflection 0.25
  73.     }
  74.     scale <0.3, 0.3, 0.3>
  75. }
  76.  
  77. union { #include "tms_tu.inc" scale <1, 10.25, 1> translate <-1, 0, 0.7> texture {TEXT}}
  78. union { #include "tms_el.inc" scale <1, 10.25, 1> translate <-0.4, 0, 0.7> texture {TEXT}}
  79. union { #include "tms_xl.inc" scale <1, 10.25, 1> translate <0.05, 0, 0.7> texture {TEXT}}
  80. union { #include "tms_tl.inc" scale <1, 10.25, 1> translate <0.55, 0, 0.7> texture {TEXT}}
  81. union { #include "tms_4.inc" scale <1, 10.25, 1> translate <0.96, 0, 0.7> texture {FOUR}}
  82.  
  83. #declare TIMES_ROMAN = texture {
  84.     pigment {
  85.         granite
  86.         turbulence 1
  87.         colour_map { // Nice Rainbow Hues
  88.             [ 0.0000 0.1666 colour red 0.0 green 0.0 blue 1.0 colour red 1.0 green 0.0 blue 1.0]
  89.             [ 0.1666 0.3333 colour red 1.0 green 0.0 blue 1.0 colour red 1.0 green 0.0 blue 0.0]
  90.             [ 0.3333 0.5000 colour red 1.0 green 0.0 blue 0.0 colour red 1.0 green 1.0 blue 0.0]
  91.             [ 0.5000 0.6666 colour red 1.0 green 1.0 blue 0.0 colour red 0.0 green 1.0 blue 0.0]
  92.             [ 0.6666 0.8333 colour red 0.0 green 1.0 blue 0.0 colour red 0.0 green 1.0 blue 1.0]
  93.             [ 0.8333 1.0000 colour red 0.0 green 1.0 blue 1.0 colour red 0.0 green 0.0 blue 1.0]
  94.         }
  95.     }
  96.     finish {
  97.         ambient 0.3
  98.         diffuse 0.3
  99.         phong 0.6
  100.         phong_size 45
  101.     }
  102.     scale <1, 1, 1>
  103. }
  104.  
  105. union { #include "tms_pu.inc" scale <1.5, 10.25, 1> translate <-1.0, 0, 0>  texture {TIMES_ROMAN}}
  106. union { #include "tms_ol.inc" scale <1.5, 10.25, 1> translate <-0.2, 0, 0>  texture {TIMES_ROMAN}}
  107. union { #include "tms_vu.inc" scale <1.5, 10.25, 1> translate <0.30, 0, 0.0>  texture {TIMES_ROMAN}}
  108.  
  109. object { // Water
  110.     sphere { <0.0, 0, -6400.0> 6399.99 }
  111.     texture {
  112.         pigment {
  113.             colour SeaGreen
  114.         }
  115.         finish {
  116.             ambient 0.1
  117.             diffuse 0.1
  118.             reflection 0.5
  119.             specular 0.4
  120.             roughness 0.03
  121.         }
  122.         normal {
  123.             ripples 0.35
  124.             frequency 30.0
  125.             turbulence 0.17
  126.             scale <7.0, 7.0, 7.0>
  127.         }
  128.     }
  129. }
  130.  
  131. object { // Deep Water 
  132.     sphere { <0.0, 0, -6400.0> 6399.0 }
  133.     texture {
  134.         pigment {
  135.             colour SeaGreen
  136.         }
  137.         finish {
  138.             ambient 0.2
  139.             diffuse 0.0
  140.         }
  141.     }
  142. }
  143.  
  144. object { //Sky
  145.     sphere { <0.0, 0, -1000.0> 9999000 }
  146.     texture {
  147.         pigment {
  148.             gradient <0, 0, 1>
  149.             colour_map {
  150.                 [0.0 0.5 colour OrangeRed colour Navy]
  151.                 [0.5 1.01 colour Navy colour Navy]
  152.             }
  153.         }
  154.         finish {
  155.             ambient 0.7
  156.             diffuse 0.0
  157.         }
  158.         scale <10, 10, 10000000>
  159.     }
  160. }
  161.